<h1>Zusatzfelder</h1>
<table>
<thead>
<tr>
  <th></th>
  <th>Name</th>
  <th>Typ des Feldes</th>
  <th>Objekttyp des neuen Feldes</th>
 
</tr>
</thead>
<tbody>
<?php $last = '' ?>
<?php foreach ($additional_fieldss as $additional_fields): ?>
<?php if ($additional_fields->getRelated() != $last): ?>
<tr>
	<th valign="top" colspan="4"><?php echo $additional_fields->getRelated() ?></th>
</tr>
<?php endif; ?>
<tr>
	  <td></td>
	  <td><?php echo link_to($additional_fields->getName(), 'fdefine/edit?id='.$additional_fields->getId()) ?></td>
      <td><?php echo $additional_fields->getTypeoffield() ?></td>
      <td><?php echo $additional_fields->getRelated() ?></td>
  </tr>
<?php $last = $additional_fields->getRelated() ?>
<?php endforeach; ?>
</tbody>
</table>
<fieldset>
<legend>Funktionen</legend>
<?php echo link_to ('Anlegen', 'fdefine/create') ?>
</fieldset>
